home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / System Extras Headers / GX Headers / qd library.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.5 KB  |  55 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        qd library.h
  3.  
  4.     Copyright:    © 1984-1994 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef qdLibraryIncludes
  13. #define qdLibraryIncludes
  14.  
  15. #ifndef graphicsTypesIncludes
  16. #include "graphics types.h"
  17. /*    #include "math types.h"                                        */
  18. /*        #include <Types.h>                                        */
  19. /*            #include <ConditionalMacros.h>                        */
  20. /*            #include <MixedMode.h>                                */
  21. /*                #include <Traps.h>                                */
  22. #endif
  23.  
  24. #ifndef __QUICKDRAW__
  25. #include <Quickdraw.h>
  26. /*    #include <QuickdrawText.h>                                    */
  27. /*        #include <IntlResources.h>                                */
  28. #endif
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32.     #endif
  33.  
  34. extern gxPoint *ShortPointToFixed(const Point *, gxPoint *);
  35. extern Point *FixedPointToShort(const gxPoint *, Point *);
  36. extern gxRectangle *ShortRectToFixed(const Rect *, gxRectangle *);
  37. extern Rect *FixedRectToShort(const gxRectangle *, Rect *);
  38. extern gxColorSet CTableToColorSet(const CTabHandle);
  39. extern CTabHandle ColorSetToCTable(const gxColorSet);
  40. extern gxBitmap *ConvertFromQDBitmap(const BitMap *, gxBitmap *);
  41. extern BitMap *ConvertToQDBitmap(const gxBitmap *, BitMap *);
  42. extern gxShape BitMapToShape(const BitMap *);
  43. extern gxShape PixMapToShape(const PixMapHandle);
  44. extern gxShape GetPixMapShape(short resourceID);
  45. extern gxShape CICNToMask(CIconHandle iconH);
  46. extern gxShape CICNToShape(CIconHandle iconH);
  47. extern gxShape GetCICNMask(long resourceID);
  48. extern gxShape GetCICNShape(long resourceID);
  49.     #ifdef __cplusplus
  50. }
  51.     #endif
  52.  
  53. #endif
  54.  
  55.